home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
lisp
/
clue.lha
/
clue
/
doc
/
clue.tex
/
node135_mn.html
< prev
next >
Wrap
Text File
|
1989-07-12
|
1KB
|
39 lines
<H3><A ID="SECTION003911100000000000000"><tex2html_anchor_invisible_mark></A> <A ID="ch:event-loop"><tex2html_anchor_mark></A><BR>
The Event Loop
</H3><#5058#>
The <#1594#><TT>process-next-event</TT><#1594#> function implements the body of the application event
loop.<A ID="1595"><tex2html_anchor_invisible_mark></A>
<#1596#><TT>process-next-event</TT><#1596#> reads an input
event from a <#1597#><TT>contact-display</TT><#1597#> and
dispatches it for processing.
Using this function, a typical application event loop will have the form shown
below.<A ID="1598"><tex2html_anchor_invisible_mark></A>
<#4313#>
<P>
<PRE><tex2html_verbatim_mark>verbatim187#</PRE>
<P>
The event loop should be terminated by a <#1601#><TT>throw</TT><#1601#> to an application-defined
<#1602#><TT>loop-exit-tag</TT><#1602#>.<A ID="1603"><tex2html_anchor_invisible_mark></A>
<P>
<#4314#><FONT SIZE="+1"><#1604#><B>process-next-event Function, contact-display</B><#1604#></FONT><#4314#>
<A ID="1605"><tex2html_anchor_invisible_mark></A>
<A ID="1606"><tex2html_anchor_invisible_mark></A>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline10004#
</DIV>
<P>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline10005#
</DIV>
<P>
=0 <#5068#>=0 <#5072#>